﻿
@{
  ViewData["Title"] = "Login";
}

<h1>Login</h1>

<form asp-action="Login" asp-controller="Account" method="post">
  <div>
    账号：<input type="text" name="username" />
  </div>
  <div>
    密码：<input type="password" name="password" />
  </div>



  <div>
    <input type="submit" value="登录" /> <span style="color:#ff0000">@TempData["err"]</span>
  </div>
</form>

